package com.grade.service;

import com.grade.Beans.Student;
import com.grade.Beans.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface TeacherService {
    List<Teacher> findAll();
    public Teacher findById(int id);
    public int insert(Teacher teacher);
    public int update(Teacher teacher);
    public int delete(int id);
    public int updatepassword(@Param("tname") String tname, @Param("tpass")String password);
    Teacher login(String tname, String tpass);
}
